package com.gable.exhibition.util;

/**
 * Created by Lesson on 2017/11/1.
 */
public class ExceptionUtil extends RuntimeException {

    public Integer ret;

    public String msg;

    public Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Integer getRet() {
        return ret;
    }

    public void setRet(Integer ret) {
        this.ret = ret;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ExceptionUtil(int ret, String msg, Object data) {
        this.ret = ret;
        this.msg = msg;
        this.data = data;
    }

    public ExceptionUtil(int ret, String msg) {
        this.ret = ret;
        this.msg = msg;
    }
}
